<div id="null_content">
    <div class="content">
        <!-- 左侧主导航开始 -->
        <div class="content_left">
            <ul>
                @foreach($category as $first)
                <li class="hide_left">
                    <a href="{{route('f_Pc_Goods_goodsList',['cate'=>$first['id']])}}">{{$first['name']}}</a>
                    <div class="hide_right_info">
                        @if(isset($first['_child']))
                            <div class="hide_info_left">
                              {{--  <ul class="hide_menu">
                                    <li class="item">
                                        <a href="" class="item_menu">家电馆<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                    <li class="item">
                                        <a href="" class="item_menu">品牌日<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                    <li class="item">
                                        <a href="" class="item_menu">智能生活馆<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                    <li class="item">
                                        <a href="" class="item_menu">京东净化馆<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                    <li class="item">
                                        <a href="" class="item_menu">城镇体验馆<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                    <li class="item">
                                        <a href="" class="item_menu">家电众筹馆<img src="{{config('mall.pc_assets')}}/images/hide_right.gif" alt="" /></a>
                                    </li>
                                </ul>
                                <div class="clear"></div>--}}

                                    @foreach($first['_child'] as $second)
                                        <div class="hang">
                                            <div class="hang_left">
                                                <h4 class="title"><a href="{{route('f_Pc_Goods_goodsList',['cate'=>$second['id']])}}">{{$second['name']}}</a><img src="{{config('mall.pc_assets')}}/images/right_tit.gif" alt="" /></h4>
                                            </div>
                                            @if(isset($second['_child']))
                                            <div class="hang_right">
                                                <ul class="tit_son">
                                                    @foreach($second['_child'] as $third)
                                                    <li class="son_item"><a href="{{route('f_Pc_Goods_goodsList',['cate'=>$third['id']])}}" class="links">{{$third['name']}}</a></li>
                                                    @endforeach
                                                </ul>
                                            </div>
                                            @endif
                                        </div>
                                    @endforeach
                                <div class="clear"></div>
                            </div>
                            @include('PShop::ad.index_category')
                        @endif
                    </div>
                </li>
                @endforeach
            </ul>
        </div>
        <!-- 左侧主导航结束 -->
        <!-- 中间滚动图 -->
        <div class="content_midd">
            <div class="content_midd_top">
                    @php
                        $slide_num = count($slides);
                    @endphp
                    @foreach($slides as $slide)
                        <a target="_blank" title="{{$slide->ad_name}}" href="{{$slide->ad_link}}"><img src="{{$slide->resource_link}}" alt="" class="pic_info" /></a>
                    @endforeach
                    @for($i=0; $i<(6-$slide_num); $i++)
                        <a  href="http://www.hjd123.com" target="_blank" title="好聚点"><img src="{{config('mall.pc_assets')}}/images/slide/s{{$i+1}}.jpg" alt="" class="pic_info" /></a>
                    @endfor
                <div class="prev"></div><div class="next"></div>
                <div class="showin">
                    @for($i=0; $i<6; $i++)
                        <div class="show_img" @if($i == 0)style=" background:#DB192A;" @endif></div>
                    @endfor
                </div>
                <div class="clear"></div>
            </div>
            @include('PShop::ad.index_slide')
        </div>
        <!-- 中间滚动图结束 -->
        <!-- 右侧登录区 -->
        <div class="content_right">
                @if(isset($lgInfo))
                    <div class="content_right_top has-login">
                        <a href="" class="user-info">
                           <span class="head-pic">
                               @if(isset($lgInfo['head_pic'])&&check_file_exists($lgInfo['head_pic']))
                                    <img src="{{$lgInfo['head_pic']}}" alt="" />
                               @else
                                   <img src="{{config('mall.pc_assets')}}/images/smile.png" alt="" />
                               @endif
                           </span>
                            <span class="user-name">Hi,{{$lgInfo['real_name']}}</span>
                        </a>
                        <div class="login-button">
                            <a href="{{route('f_Wap_User_index')}}" class="user-center">会员中心</a>
                            <a href="{{route('f_Login_logout')}}" class="logout">退出登录</a>
                        </div>
                    </div>
                @else
                    <div class="content_right_top no-login">
                        <div class="no-login-welcome">
                            <img src="{{config('mall.pc_assets')}}/images/smile.png" alt="" />
                            <p >Hi，欢迎来到{{config('website.website_title')}}..</p>
                        </div>
                        <a href="{{route('f_Login_login')}}" class="new_people">登录</a>
                        <a href="{{route('f_Login_register')}}" class="vip">注册</a>
                    </div>
                @endif
            <div class="content_right_midd">
                <a href="" class="cuxiao">促销</a><span>|</span>
                <a href="" class="gonggao">公告</a>
                <a href="" class="gengduo">更多</a>
            </div>
            <ul class="news">
                <li>
                    <a href="">自营家装每满200减50元</a>
                </li>
                <li>
                    <a href="">金螳螂家装交定金赢液晶电视</a>
                </li>
                <li>
                    <a href="">鞋包会员节，高达满399减120</a>
                </li>
                <li>
                    <a href="">414乐视超级电视最高直降980</a>
                </li>
            </ul>
            <div class="r_d">
                <ul>
                    <li><a href="">话费</a></li>
                    <li><a href="">机票</a></li>
                    <li><a href="">酒店</a></li>
                    <li><a href="">游戏</a></li>
                </ul>
            </div>
{{--            <div class="r_h">--}}
{{--                <ul class="huafei">--}}
{{--                    <li><a href="">话费充值</a></li>--}}
{{--                    <li><a href="">流量充值</a></li>--}}
{{--                    <li><a href="">套餐变更</a></li>--}}
{{--                </ul>--}}
{{--            </div>--}}
{{--            <div class="in">号码<input type="text"  class="haoma" value="移动/联通/电信" /></div>--}}
{{--            <div class="in">面值<input type="text" class="mianzhi" value="100元" /><span>￥98.0-￥100.0</span></div>--}}
{{--            <div class="kuaisu"><a href="">快速充值</a></div>--}}
{{--            <div class="hot"><img src="{{config('mall.pc_assets')}}/images/hot.png" alt="" /></div>--}}
{{--            <a class="q_50" href="">抢50元话费券</a>--}}
        </div>
        <div class="clear"></div>
        <!-- 右侧登录区结束 -->
    </div>
</div>